package com.sjq.supplier.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sjq.supplier.entity.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * (Goods)表数据库访问层
 *
 * @author makejava
 * @since 2024-01-02 14:54:50
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    List<Map<String, Object>> selectAll(@Param("goods") Goods goods,@Param("limit") Integer limit,@Param("page")  Integer page);

    Long selectAllCount(@Param("goods") Goods goods);
}

